rm -f slstatus slstatus.o components/backlight.o components/battery.o components/cpu.o components/datetime.o components/disk.o components/entropy.o components/hostname.o components/ip.o components/kernel_release.o components/keyboard_indicators.o components/keymap.o components/load_avg.o components/netspeeds.o components/num_files.o components/ram.o components/run_command.o components/swap.o components/temperature.o components/uptime.o components/user.o components/volume.o components/wifi.o util.o
cc -o slstatus.o -c -I/usr/X11R6/include -D_DEFAULT_SOURCE -std=c99 -pedantic -Wall -Wextra -Os slstatus.c
cc -o components/backlight.o -c -I/usr/X11R6/include -D_DEFAULT_SOURCE -std=c99 -pedantic -Wall -Wextra -Os components/backlight.c
cc -o components/battery.o -c -I/usr/X11R6/include -D_DEFAULT_SOURCE -std=c99 -pedantic -Wall -Wextra -Os components/battery.c
cc -o components/cpu.o -c -I/usr/X11R6/include -D_DEFAULT_SOURCE -std=c99 -pedantic -Wall -Wextra -Os components/cpu.c
cc -o components/datetime.o -c -I/usr/X11R6/include -D_DEFAULT_SOURCE -std=c99 -pedantic -Wall -Wextra -Os components/datetime.c
cc -o components/disk.o -c -I/usr/X11R6/include -D_DEFAULT_SOURCE -std=c99 -pedantic -Wall -Wextra -Os components/disk.c
cc -o components/entropy.o -c -I/usr/X11R6/include -D_DEFAULT_SOURCE -std=c99 -pedantic -Wall -Wextra -Os components/entropy.c
cc -o components/hostname.o -c -I/usr/X11R6/include -D_DEFAULT_SOURCE -std=c99 -pedantic -Wall -Wextra -Os components/hostname.c
cc -o components/ip.o -c -I/usr/X11R6/include -D_DEFAULT_SOURCE -std=c99 -pedantic -Wall -Wextra -Os components/ip.c
cc -o components/kernel_release.o -c -I/usr/X11R6/include -D_DEFAULT_SOURCE -std=c99 -pedantic -Wall -Wextra -Os components/kernel_release.c
cc -o components/keyboard_indicators.o -c -I/usr/X11R6/include -D_DEFAULT_SOURCE -std=c99 -pedantic -Wall -Wextra -Os components/keyboard_indicators.c
cc -o components/keymap.o -c -I/usr/X11R6/include -D_DEFAULT_SOURCE -std=c99 -pedantic -Wall -Wextra -Os components/keymap.c
cc -o components/load_avg.o -c -I/usr/X11R6/include -D_DEFAULT_SOURCE -std=c99 -pedantic -Wall -Wextra -Os components/load_avg.c
cc -o components/netspeeds.o -c -I/usr/X11R6/include -D_DEFAULT_SOURCE -std=c99 -pedantic -Wall -Wextra -Os components/netspeeds.c
cc -o components/num_files.o -c -I/usr/X11R6/include -D_DEFAULT_SOURCE -std=c99 -pedantic -Wall -Wextra -Os components/num_files.c
cc -o components/ram.o -c -I/usr/X11R6/include -D_DEFAULT_SOURCE -std=c99 -pedantic -Wall -Wextra -Os components/ram.c
cc -o components/run_command.o -c -I/usr/X11R6/include -D_DEFAULT_SOURCE -std=c99 -pedantic -Wall -Wextra -Os components/run_command.c
cc -o components/swap.o -c -I/usr/X11R6/include -D_DEFAULT_SOURCE -std=c99 -pedantic -Wall -Wextra -Os components/swap.c
cc -o components/temperature.o -c -I/usr/X11R6/include -D_DEFAULT_SOURCE -std=c99 -pedantic -Wall -Wextra -Os components/temperature.c
cc -o components/uptime.o -c -I/usr/X11R6/include -D_DEFAULT_SOURCE -std=c99 -pedantic -Wall -Wextra -Os components/uptime.c
cc -o components/user.o -c -I/usr/X11R6/include -D_DEFAULT_SOURCE -std=c99 -pedantic -Wall -Wextra -Os components/user.c
cc -o components/volume.o -c -I/usr/X11R6/include -D_DEFAULT_SOURCE -std=c99 -pedantic -Wall -Wextra -Os components/volume.c
cc -o components/wifi.o -c -I/usr/X11R6/include -D_DEFAULT_SOURCE -std=c99 -pedantic -Wall -Wextra -Os components/wifi.c
cc -o util.o -c -I/usr/X11R6/include -D_DEFAULT_SOURCE -std=c99 -pedantic -Wall -Wextra -Os util.c
cc -o slstatus -L/usr/X11R6/lib -s components/backlight.o components/battery.o components/cpu.o components/datetime.o components/disk.o components/entropy.o components/hostname.o components/ip.o components/kernel_release.o components/keyboard_indicators.o components/keymap.o components/load_avg.o components/netspeeds.o components/num_files.o components/ram.o components/run_command.o components/swap.o components/temperature.o components/uptime.o components/user.o components/volume.o components/wifi.o util.o slstatus.o -lX11
mkdir -p "/usr/local/bin"
cp -f slstatus "/usr/local/bin"
chmod 755 "/usr/local/bin/slstatus"
mkdir -p "/usr/local/share/man/man1"
cp -f slstatus.1 "/usr/local/share/man/man1"
chmod 644 "/usr/local/share/man/man1/slstatus.1"
